<?php

class RobotCommand {
  
  /**
   *
   * @var string[] $argNames
   */
  protected $argNames = null;
  
  /**
   *
   * @var string[] $args
   */
  protected $args = null;
  
  /**
   *
   * @var string $name
   */
  protected $name = null;
  
  /**
   *
   * @var int $state
   */
  protected $state = null;

  /**
   *
   * @param int $state          
   */
  public function __construct($state) {
    $this->state = $state;
  }

  /**
   *
   * @return string[]
   */
  public function getArgNames() {
    return $this->argNames;
  }

  /**
   *
   * @param string[] $argNames          
   * @return RobotCommand
   */
  public function setArgNames(array $argNames = null) {
    $this->argNames = $argNames;
    return $this;
  }

  /**
   *
   * @return string[]
   */
  public function getArgs() {
    return $this->args;
  }

  /**
   *
   * @param string[] $args          
   * @return RobotCommand
   */
  public function setArgs(array $args = null) {
    $this->args = $args;
    return $this;
  }

  /**
   *
   * @return string
   */
  public function getName() {
    return $this->name;
  }

  /**
   *
   * @param string $name          
   * @return RobotCommand
   */
  public function setName($name) {
    $this->name = $name;
    return $this;
  }

  /**
   *
   * @return int
   */
  public function getState() {
    return $this->state;
  }

  /**
   *
   * @param int $state          
   * @return RobotCommand
   */
  public function setState($state) {
    $this->state = $state;
    return $this;
  }
}
